package com.ruoyi.hospital.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 套餐类型信息对象 yl_package_type
 * 
 * @author ruoyi
 * @date 2022-02-16
 */
public class YlPackageType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 套餐类型ID */
    private Long packageTypeId;

    /** 套餐类型名称 */
    @Excel(name = "套餐类型名称")
    private String name;

    /** 套餐数量 */
    @Excel(name = "套餐数量")
    private Long quantity;

    /** 套餐ID */
    @Excel(name = "套餐ID")
    private String packageId;

    /** 套餐描述 */
    @Excel(name = "套餐描述")
    private String description;

    /** 状态 */
    @Excel(name = "状态")
    private Long state;

    /** 乐观锁 */
    @Excel(name = "乐观锁")
    private Long revision;

    public void setPackageTypeId(Long packageTypeId) 
    {
        this.packageTypeId = packageTypeId;
    }

    public Long getPackageTypeId() 
    {
        return packageTypeId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setQuantity(Long quantity) 
    {
        this.quantity = quantity;
    }

    public Long getQuantity() 
    {
        return quantity;
    }
    public void setPackageId(String packageId) 
    {
        this.packageId = packageId;
    }

    public String getPackageId() 
    {
        return packageId;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setRevision(Long revision) 
    {
        this.revision = revision;
    }

    public Long getRevision() 
    {
        return revision;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("packageTypeId", getPackageTypeId())
            .append("name", getName())
            .append("quantity", getQuantity())
            .append("packageId", getPackageId())
            .append("description", getDescription())
            .append("state", getState())
            .append("revision", getRevision())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
